package com.crm.redis;

/**
 * 规定redis中各个存储信息的redis前缀
 * @author luojie
 * @date 2021/2/2 9:41
 */
public interface RedisPrefix {

    /**
     * 线索池使用次数
     */
    String CLUE_POOL_USAGE_COUNT = "clue_pool_usage_count:id:";

    /**
     * 线索池领取次数
     */
    String CLUE_POOL_RECEIVE_COUNT = "clue_pool_receive_count:id:";

    /**
     * 线索ID号
     */
    String CLUE_NUMBER = "clue_number:";

    /**
     * 分析客户意向
     */
    String ANALYSE_CUSTOMER = "analyse_customer:";

    /**
     * 公共线索池基本信息缓存
     */
    String CLUE_POOL_PUBLIC = "clue_pool_public:id:";

    /**
     * 私有线索池基本信息缓存
     */
    String CLUE_POOL_PRIVATE = "clue_pool_private:id:";

    /**
     * 线索基本信息缓存ById
     */
    String CLUE = "clue:id:";

    /**
     * 线索基本信息缓存ByCompanyNameAndCode
     */
    String CLUE_IS_REPEAT = "clue:isRepeat:";

    /**
     * 字典表信息缓存
     */
    String DICTIONARY = "dictionary:code:";

    /**
     * 用户跟进标签数量前十
     */
    String FOLLOW_TAG_COUNT = "follow_tag_count:id:";

    /**
     * 用户密码
     */
    String USER_ACCOUNT_PASSWORD = "user_account_password:id:";

    /**
     * 账号名
     */
    String USER_ACCOUNT = "user_account:";

    /**
     * 论坛热点话题
     */
    String FORUM_GOD_TOPIC = "lt_forum_god_topic";

    /**
     * 客户名称:统一社会信用代码
     */
    String CUSTOMER_LIBRARY = "customer_library:";

    /**
     * 会员分析
     */
    String VIP_CUSTOMER_ANALYSE = "vip_customer_analyse:id:";

    /**
     * 流失会员
     */
    String OUT_VIP_CUSTOMER_ANALYSE = "out_vip_customer_analyse:id:";

    /**
     * 会员交易额
     */
    String VIP_CUSTOMER_BUT_RISE = "vip_customer_buy_rise:id:";

    /**
     * 会员交易
     */
    String VIP_CUSTOMER_COUNT = "vip_customer_count:id:";

    /**
     * 客户交易额
     */
    String CUSTOMER_CONSUME_COUNT = "customer_consume_count:id:";

    /**
     * 续费客户数量
     */
    String RENEW_VIP_CUSTOMER_COUNT = "renew_vip_customer_count:id:";

    /**
     * 业绩分析报表-曲线图
     */
    String PRODUCT_ANALYSE = "produc_analyse:";

    /**
     * 客户基本信息缓存,key：customer:isRepeat:客户名称_统一社会信用代码
     */
    String CUSTOMER_IS_REPEAT = "customer:isRepeat:";

    String RETURN_MONEY_AND_GRADE_MOENY = "return_money_and_grade_money:";

    String SALESMAN_MONTH = "salesman_month:";

    String SALESMAN_YEAR = "salesman_year:";

    String SALESMAN_TOP_THIRTY = "salesman_top_thirty";

    String SALESMAN_TOP_MONTH_THIRTY = "salesman_top_month_thirty:";

    String SALESMAN_TOP_YEAR_THIRTY = "salesman_top_year_thirty:";

    /**
     * 企业微信登录 access_token Key
     */
    String ACCESS_TOKEN_KEY = "login_access_token";
}
